QuickOPC User's Guide and Reference
ServerElementCollection Constructor(IEnumerable<ServerElement>)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace > ServerElementCollection Class > ServerElementCollection Constructor : ServerElementCollection Constructor(IEnumerable<ServerElement>)
The collection to be copied from.
Initializes a new copy of the collection.
Syntax
'Declaration
 
Public Function New( _
   ByVal elements As IEnumerable(Of ServerElement) _
)
'Usage
 
Dim elements As IEnumerable(Of ServerElement)
 
Dim instance As New ServerElementCollection(elements)
public ServerElementCollection( 
   IEnumerable<ServerElement> elements
)
public:
ServerElementCollection( 
   IEnumerable<ServerElement^>^ elements
)

Parameters

elements
The collection to be copied from.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also